using System;

namespace B.S.XZYData.Api.Read.DTO
{
	/// <summary>
	/// 不良品项页面展示用 DTO
	/// </summary>
	public class DefectiveDto
	{
		/// <summary>
		/// 主键 Id
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 不良品项编号
		/// </summary>
		public string DefectiveCode { get; set; }

		/// <summary>
		/// 不良品项名称
		/// </summary>
		public string DefectiveName { get; set; }

		/// <summary>
		/// 附件路径
		/// </summary>
		public string? AttachmentPath { get; set; }

		/// <summary>
		/// 图片路径
		/// </summary>
		public string? ImagePath { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 创建人 Id
		/// </summary>
		public int CreatorId { get; set; }

		/// <summary>
		/// 最后修改人 Id
		/// </summary>
		public int? ModifierId { get; set; }

		/// <summary>
		/// 最后修改时间
		/// </summary>
		public DateTime? ModifyTime { get; set; }

		/// <summary>
		/// 创建人名称
		/// </summary>
		public string CreatorName { get; set; } = string.Empty;

		/// <summary>
		/// 修改人名称
		/// </summary>
		public string ModifierName { get; set; } = string.Empty;
	}
}
